import React, { lazy } from 'react'
const Detail=lazy(()=>import('../pages/Detail/Index.jsx'))
const List = lazy(()=>import('../pages/List/Index.jsx'))
export const router=[
    {
        path:'/',
        element:<List/>
    },
    {
        path:'/detail/:id',
        element:<Detail/>
    },
]
